package com.lushu.chapitre1.net.services {
import com.sfdk.net.php.BaseRemotingService;

import flash.net.Responder;

public class ItemService extends BaseRemotingService {
    private static var _instance:ItemService;

    public function ItemService() {
        super("items");
        _instance = this;
    }

    public static function get instance():ItemService {
        if (_instance == null)
            _instance = new ItemService();
        return _instance;
    }

    public static function getItemsData(responder:Responder):void {
        instance.call("getItems", responder);
    }
}
}